Amwal\Http\Controllers\OrderController A

Total Complexity 61
Dependencies 10
Dependents 1
Total lines 360
Lines of code 283
Logical lines of code 147
Comment lines 44
Methods 13
Properties 6

Methods 13

Method Rating Maintainability Complexity Lines of code
amwalwc_build_order_schema()
A
40 12 59
handle()
A
47 12 32
amwalwc_complete_order()
A
46 8 35
amwal_order_core()
A
46 7 38
amwalwc_save_shipping_details()
S
51 6 24
amwalwc_get_or_create_order()
S
45 3 45
get_shipping_methods()
S
55 4 19
__construct()
S
72 3 5
order_creation_error_response()
S
70 2 5
amwalwc_cancel_order()
S
69 1 6
get_order_by_amwal_cart_id()
S
69 1 7
check_transaction_status()
S
72 1 5
get_permission_callback()
S
81 1 3